package pref.junx.flybird.activity.addGroup;


import pref.junx.flybird.base.BaseModel;
import pref.junx.flybird.base.BasePresenter;
import pref.junx.flybird.base.Baseview;
import pref.junx.flybird.entity.FriendShip;
import pref.junx.flybird.entity.ResultBean;
import rx.Observable;

/**
 * Created by 半生瓜 on 2017/8/7
 * .
 */

public interface AddGroup_Conteact {
    interface Model extends BaseModel {


        Observable<ResultBean<Boolean>>  addfri(FriendShip f);
    }
    interface View extends Baseview {
        void success();
        void result(String a);

        void susses();

        void fail();
    }
    abstract  class Presenter extends BasePresenter<Model,View> {


        public abstract void addfri(FriendShip f);
    }
}
